d042b41f1085dd8fb1f0840edf95a76c49533bca
[git-annex.git] /
1 [[!comment format=mdwn
2  username="amerlyq+annex@12121d70a602f094228689a0a24d348d478a8af1"
3  nickname="amerlyq+annex"
4  avatar="http://cdn.libravatar.org/avatar/3d63c9f436b45570d45bd003e468cbd3"
5  subject="comment 2"
6  date="2022-01-04T13:10:13Z"
7  content="""
8 Probably skipping symlinks for both import/export is for the best.
9
10 My personal expectations (pipe dream?) are to export symlinks as real files -- but only compare during import and warn if different.
11
12 Because if I see file/symlink in some repo -- it's placed there for a reason, and after sync I expect to find all the expected files in their folders (even if through multiple copies). 
13 Silently ignoring of symlinks forces me to remember to check that whatever I want to sync does not contain them.
14 Otherwise I may be in a very delicate situation, if files needed for work were not synced to phone and I have no access to PC at that moment ;)
15
16 On the other hand, I remember literally months I spent debugging and configuring samba, and reading their history of symlinks implementations.
17 It contains so much frustrating corner cases, that banning symlinks completely isn't a bad idea, actually.
18 """]]